<!DOCTYPE>
<html ng-app="chatApp">
    <head>

        <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js"></script> 
        <script src="angular-resource.js"></script>
        <script src="chatApp.js"></script>
        <script src="statCtrl.js"></script>

    </head>
    <body>
        

<div class="container main" ng-controller="statCtrl">
    <div>
        <div class="span10 offset1" style="text-align: center">
            <h2>System details updated using server-sent events</h2>
        </div>
        <ul ng-repeat="channel in channels">
            <li><a href="room/{{channel.id}}">{{channel.name}}</a></li>

        </ul>
       
    </div>
    <input type="text" ng-model="form.channel"  />
    <button ng-click="createChannel()">Add</button>
</form>
    
</div>

</body>

</html>